package com.channel.demo;

import java.io.File;
import java.lang.reflect.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) throws IllegalAccessException, InstantiationException, NoSuchMethodException {
	// write your code here
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入源文件路径（ e:/APK/channel.txt ）：");
        String inFileName = sc.nextLine();
        System.out.println("请输入目标文件路径（ e:/out ）：");

        String outFileName = sc.nextLine();
        File inFile = new File(inFileName);
        File outFile = new File(outFileName);
//        System.out.println("请输入打包后的文件名（ 159cai ）：");
//        String apkname = sc.nextLine();
//        System.out.println("请输入打包模式 0--有渠道两字，1—-不带渠道：");
//        String mode = sc.nextLine();
        System.out.println("读取中：-------------------华丽分割线----------------------");

        Ichannel ichannel = new ChannelImpl();
        ichannel.WriteChannel(inFile, outFile);
    }
}
